| Visual Basic (Declaration) | |
|---|---|
Public Function New( _ ByVal propertyName As String, _ ByVal isRequired As Boolean, _ ByVal displayName As String _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim propertyName As String Dim isRequired As Boolean Dim displayName As String Dim instance As New PropertyValueVerifierArgs(Of T)(propertyName, isRequired, displayName) | |
| C# | |
|---|---|
public PropertyValueVerifierArgs<T>( string propertyName, bool isRequired, string displayName ) | |
| C++/CLI | |
|---|---|
public: PropertyValueVerifierArgs<T>( String^ propertyName, bool isRequired, String^ displayName ) | |
Parameters
- propertyName
- The property on the type to be verified
- isRequired
- Whether the property name is required or may be left null
- displayName
- A display name for the specified property
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family